package com.micro.api.service;

import com.micro.api.entity.User;
import com.micro.base.ResponseBase;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @title: IUserService
 * @Author: yzp
 * @Date: 2019/9/28 10:58
 * @Version 1.0
 */
public interface IUserService {

    /**
     * 获取用户
     * @param name
     * @return
     */
    @RequestMapping("/getUser")
    User getUser(@RequestParam("name") String name);


    /**
     * 获取用户信息
     */
    @RequestMapping("/getUserInfo")
    ResponseBase getUserInfo();
}
